<%-- 
    Document   : addJob
    Created on : Jun 30, 2012, 9:00:03 AM
    Author     : AsakuraKenma
--%>

<%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Add jobs Page</title>
        <script type="text/javascript" src="script/RegisterChecking.js"></script>
        <link href="css/Main.css" rel="stylesheet" type="text/css" />        
    </head>

    <body>	

        <table width="1000" border="0" align="center">
            <tr>
                <td colspan="3" align="right">
                    Welcome, ${sessionScope.USERNAME},         
                    <c:url var="Logout" value="Controller">
                        <c:param name="action" value="Logout"/>
                    </c:url>
                    <a href="${Logout}" class="Sign">Logout</a><br/><br/>

                </td>
            </tr>

            <tr>
                <td><img src="images/logo-job-portal.png" alt="" width="269" height="56" /></td>
                <td colspan="2">
                    <table border="0" id="wrap">
                        <tr id="menu">
                            <td width="100"></td>
                            <td class="shadow"><a href="home.jsp">HomePage</a></td>
                            <td width="10"></td>
                            <td class="shadow"><a href="aboutUs.jsp">About Us</a></td>
                            <td width="10"></td>
                            <td class="shadow"><a href="help.jsp">Help</a></td>
                            <td width="10"></td>
                            <td class="shadow"><a href="employerPage.jsp">Employer</a></td>
                            <td width="10"></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="3" align="center"><img src="images/bigpicture.jpg" width="1049" height="303" /></td>
            </tr>

            <tr>
                <td><img src="images/left.png" width="208" height="975" /></td>
                <td width="800" rowspan="3" class="middle">

                    
                    <a href="employerPage.jsp" class="Sign">Back to employer page</a>
                    <h3 align="right"><span style="color:#0F0">*</span> is a must</h3>
                    <form action="Controller" method="post" onsubmit="return checkEmployer(this);">
                        <input type="hidden" name="type" value="1">
                        <center>
                            <table border="0">
                                <tr>
                                    <td colspan="2" style="border-bottom:3px solid #F00" align="center"></td>
                                </tr>
                                <tr>
                                    <td  align="center">Job name</td>
                                    <td><input type="text" required="true" name="jobName" size="23" />*</td>
                                </tr>
                                <tr>
                                    <td align="center">Position</td>
                                    <td><input type="text" required="true" name="Position" size="23" />*</td>
                                </tr>
                                <tr>
                                    <td align="center">Career</td>
                                    <td><input type="text" required="true" name="Career" size="23" />*</td>
                                </tr>
                                <tr>
                                    <td align="center">Job Type</td>
                                    <td><select size="1" name="jobType">
                                            <option value="0">Full time</option>
                                            <option value ="1">Part time</option>
                                        </select></td>
                                </tr>
                                <tr>
                                    <td align="center">Quantity</td>
                                    <td ><input type="number" pattern="[0-9]*" title="Quantity is number only." required="true" name="quantity" size="3"/>*</td>
                                </tr>
                                <tr>
                                    <td align="center">Work Place</td>
                                    <td><select size="1" name="workPlace">
                                            <option value="Ha Noi">Ha Noi</option>
                                            <option value ="Ho Chi Minh">Ho Chi Minh</option>
                                            <option value ="Da Nang">Da Nang</option>
                                            <option value ="Can Tho">Can Tho</option>
                                            <option value ="Hue">Hue</option>
                                            <option value ="Ca Mau">Ca Mau</option>
                                            <option value ="Other">Other</option>
                                        </select></td>
                                </tr>
                                <tr>
                                    <td align="center">Salary</td>
                                    <td><input type="text" required="true" name="salary" size="23" />*</td>
                                </tr>
                                <tr>
                                    <td align="center">Job Description</td>
                                    <td><textarea required="true" name="jobDesc" rows="4" cols="23" ></textarea>*</td>
                                </tr>
                                <tr>
                                    <td align="center">Benefit</td>
                                    <td><textarea name="benefit" rows="4" cols="23"></textarea></td>
                                </tr>
                                <tr>
                                    <td align="center">Require Experience</td>
                                    <td><input type="text" name="requiredExp" size="23"/></td>
                                </tr>
                                <tr>
                                    <td align="center">Required Education</td>
                                    <td><input type="text" name="requiredEdu" size="23"/></td>
                                </tr>
                                <tr>
                                    <td align="center">Other require</td>
                                    <td><input type="text" name="otherReq" size="23"/></td>
                                </tr>
                                <tr>
                                    <td align="center">Profile require</td>
                                    <td><textarea name="profile" rows="4" cols="23"></textarea></td>
                                </tr>
                                <tr>
                                    <td align="center">Date expired</td>
                                    <td>
                                        <table>
                                            <tr>
                                                <td><select size="1" name="dayExpired">
                                                        <option value="0" hidden="true">Day</option>
                                                        <option value ="1">1</option>
                                                        <option value ="2">2</option>
                                                        <option value ="3">3</option>
                                                        <option value ="4">4</option>
                                                        <option value ="5">5</option>
                                                        <option value ="6">6</option>
                                                        <option value ="7">7</option>
                                                        <option value ="8">8</option>
                                                        <option value ="9">9</option>
                                                        <option value ="10">10</option>
                                                        <option value ="11">11</option>
                                                        <option value ="12">12</option>
                                                        <option value ="13">13</option>
                                                        <option value ="14">14</option>
                                                        <option value ="15">15</option>
                                                        <option value ="16">16</option>
                                                        <option value ="17">17</option>
                                                        <option value ="18">18</option>
                                                        <option value ="19">19</option>
                                                        <option value ="20">20</option>
                                                        <option value ="21">21</option>
                                                        <option value ="22">22</option>
                                                        <option value ="23">23</option>
                                                        <option value ="24">24</option>
                                                        <option value ="25">25</option>
                                                        <option value ="26">26</option>
                                                        <option value ="27">27</option>
                                                        <option value ="28">28</option>
                                                        <option value ="29">29</option>
                                                        <option value ="30">30</option>
                                                        <option value ="31">31</option>
                                                    </select></td>
                                                <td><select size="1" name="monthExpired">
                                                        <option value="0" hidden="true">Month</option>
                                                        <option value ="1">1</option>
                                                        <option value ="2">2</option>
                                                        <option value ="3">3</option>
                                                        <option value ="4">4</option>
                                                        <option value ="5">5</option>
                                                        <option value ="6">6</option>
                                                        <option value ="7">7</option>
                                                        <option value ="8">8</option>
                                                        <option value ="9">9</option>
                                                        <option value ="10">10</option>
                                                        <option value ="11">11</option>
                                                        <option value ="12">12</option>
                                                    </select></td>
                                                <td><select size="1" name="yearExpired">
                                                        <option value="0" hidden="true">Year</option>
                                                        <option value="2012">2012</option>
                                                        <option value="2013">2013</option>
                                                        <option value="2014">2014</option>
                                                        <option value="2015">2015</option>
                                                        <option value="2016">2016</option>
                                                        <option value="2017">2017</option>
                                                    </select></td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>

                                <tr>
                                    <td align="right"><input type="submit" name="action" value="PostJob" class="buttons"/></td>
                                    <td><input type="reset" name="Reset" value="Reset" class="buttons"/></td>
                                </tr>
                            </table>
                        </center>
                    </form>


                </td>
                <td><img src="images/right.png" width="208" height="975" /></td>
            </tr>
        </table>
    </body>
</html>

